﻿@using CodeGenerator.Models.TemplateModels
@inherits RazorEngine.Templating.TemplateBase<CodeGenerator.Models.TemplateModels.DtoFileModel>
using Abp.Extensions;
using Abp.Runtime.Validation;
using Enterprise.Dtos;

namespace  Enterprise.Application.@(Model.DirName).Dto
{
    public class Get@(Model.Name)sInput: PagedSortedAndFilteredInputDto, IShouldNormalize
    {
        public void Normalize()
        {
            if (Sorting.IsNullOrWhiteSpace())
            {
                Sorting = "CreationTime DESC";
            }
        }
    }
}